import request from '@/utils/request'

// 查询库存调拨审核列表
export function listMaterialTransferAudit(query) {
  return request({
    url: '/sks/MaterialTransferAudit/list',
    method: 'get',
    params: query
  })
}

// 查询库存调拨审核详细
export function getMaterialTransferAudit(auditId) {
  return request({
    url: '/sks/MaterialTransferAudit/' + auditId,
    method: 'get'
  })
}

// 新增库存调拨审核
export function addMaterialTransferAudit(data) {
  return request({
    url: '/sks/MaterialTransferAudit',
    method: 'post',
    data: data
  })
}

// 修改库存调拨审核
export function updateMaterialTransferAudit(data) {
  return request({
    url: '/sks/MaterialTransferAudit',
    method: 'put',
    data: data
  })
}

// 删除库存调拨审核
export function delMaterialTransferAudit(auditId) {
  return request({
    url: '/sks/MaterialTransferAudit/' + auditId,
    method: 'delete'
  })
}
